3.3.21 \(\int \frac {(c+d x^4)^q}{a+b x^4} \, dx\) [221]

Optimal. Leaf size=57 \[ \frac {x \left (c+d x^4\right )^q \left (1+\frac {d x^4}{c}\right )^{-q} F_1\left (\frac {1}{4};1,-q;\frac {5}{4};-\frac {b x^4}{a},-\frac {d x^4}{c}\right )}{a} \]

[Out]

x*(d*x^4+c)^q*AppellF1(1/4,1,-q,5/4,-b*x^4/a,-d*x^4/c)/a/((1+d*x^4/c)^q)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {441, 440} \begin {gather*} \frac {x \left (c+d x^4\right )^q \left (\frac {d x^4}{c}+1\right )^{-q} F_1\left (\frac {1}{4};1,-q;\frac {5}{4};-\frac {b x^4}{a},-\frac {d x^4}{c}\right )}{a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c + d*x^4)^q/(a + b*x^4),x]

[Out]

(x*(c + d*x^4)^q*AppellF1[1/4, 1, -q, 5/4, -((b*x^4)/a), -((d*x^4)/c)])/(a*(1 + (d*x^4)/c)^q)

Rule 440

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[a^p*c^q*x*AppellF1[1/n, -p,
 -q, 1 + 1/n, (-b)*(x^n/a), (-d)*(x^n/c)], x] /; FreeQ[{a, b, c, d, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[n
, -1] && (IntegerQ[p] || GtQ[a, 0]) && (IntegerQ[q] || GtQ[c, 0])

Rule 441

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^F
racPart[p]/(1 + b*(x^n/a))^FracPart[p]), Int[(1 + b*(x^n/a))^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, n,
p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[n, -1] &&  !(IntegerQ[p] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {\left (c+d x^4\right )^q}{a+b x^4} \, dx &=\left (\left (c+d x^4\right )^q \left (1+\frac {d x^4}{c}\right )^{-q}\right ) \int \frac {\left (1+\frac {d x^4}{c}\right )^q}{a+b x^4} \, dx\\ &=\frac {x \left (c+d x^4\right )^q \left (1+\frac {d x^4}{c}\right )^{-q} F_1\left (\frac {1}{4};1,-q;\frac {5}{4};-\frac {b x^4}{a},-\frac {d x^4}{c}\right )}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(162\) vs. \(2(57)=114\).
time = 0.32, size = 162, normalized size = 2.84 \begin {gather*} \frac {5 a c x \left (c+d x^4\right )^q F_1\left (\frac {1}{4};-q,1;\frac {5}{4};-\frac {d x^4}{c},-\frac {b x^4}{a}\right )}{\left (a+b x^4\right ) \left (5 a c F_1\left (\frac {1}{4};-q,1;\frac {5}{4};-\frac {d x^4}{c},-\frac {b x^4}{a}\right )+4 x^4 \left (a d q F_1\left (\frac {5}{4};1-q,1;\frac {9}{4};-\frac {d x^4}{c},-\frac {b x^4}{a}\right )-b c F_1\left (\frac {5}{4};-q,2;\frac {9}{4};-\frac {d x^4}{c},-\frac {b x^4}{a}\right )\right )\right )} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[(c + d*x^4)^q/(a + b*x^4),x]

[Out]

(5*a*c*x*(c + d*x^4)^q*AppellF1[1/4, -q, 1, 5/4, -((d*x^4)/c), -((b*x^4)/a)])/((a + b*x^4)*(5*a*c*AppellF1[1/4
, -q, 1, 5/4, -((d*x^4)/c), -((b*x^4)/a)] + 4*x^4*(a*d*q*AppellF1[5/4, 1 - q, 1, 9/4, -((d*x^4)/c), -((b*x^4)/
a)] - b*c*AppellF1[5/4, -q, 2, 9/4, -((d*x^4)/c), -((b*x^4)/a)])))

________________________________________________________________________________________

Maple [F]
time = 0.07, size = 0, normalized size = 0.00 \[\int \frac {\left (d \,x^{4}+c \right )^{q}}{b \,x^{4}+a}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^4+c)^q/(b*x^4+a),x)

[Out]

int((d*x^4+c)^q/(b*x^4+a),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^q/(b*x^4+a),x, algorithm="maxima")

[Out]

integrate((d*x^4 + c)^q/(b*x^4 + a), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^q/(b*x^4+a),x, algorithm="fricas")

[Out]

integral((d*x^4 + c)^q/(b*x^4 + a), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**4+c)**q/(b*x**4+a),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^4+c)^q/(b*x^4+a),x, algorithm="giac")

[Out]

integrate((d*x^4 + c)^q/(b*x^4 + a), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (d\,x^4+c\right )}^q}{b\,x^4+a} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x^4)^q/(a + b*x^4),x)

[Out]

int((c + d*x^4)^q/(a + b*x^4), x)

________________________________________________________________________________________